package com.xinqi.modules.chat.chat.message.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 聊天消息置顶-请求对象-取消置顶
 *
 * @author: yyzhen
 * @date: 2023/06/29
 */
@Data
@Schema(description = "聊天消息置顶-请求对象-取消置顶")
public class ChatMessageCancelTopDTO implements Serializable {

    @NotEmpty(message = "{chat.message.top.targetId.not.blank}")
    @Schema(description = "会话ID")
    private String targetId;

    @NotEmpty(message = "{chat.message.top.messageId.not.blank}")
    @Schema(description = "消息ID（取融云）", example = "C8A9-GJ6H-B4U7-TMED")
    private String messageId;

}
